//
//  IDCViewController.m
//  GamePlan Proof
//
//  Created by iD Student on 7/15/13.
//  Copyright (c) 2013 jasonkurtzman. All rights reserved.
//

#import "IDCViewController.h"
#import "IDCViewControllerLogIn.h"

@interface IDCViewController ()

@end

@implementation IDCViewController

@synthesize xp1, xp2, level;

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@"Map" style:UIBarButtonItemStyleBordered target:self action:@selector(backPressed)];
    self.navigationItem.leftBarButtonItem = backButton;
    self.navigationItem.title = [NSString stringWithFormat:@"Level: %d || Game Plan ||", level];
    
	// Do any additional setup after loading the view, typically from a nib.
}

-(IBAction)backPressed
{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
